package org.example.mapper;

import org.apache.ibatis.annotations.Param;
import org.example.bean.User;

import java.io.IOException;
import java.util.List;


public interface UserMapper {



    public User queryUserById(Integer id) throws IOException;

    public int updateUser(User user) throws IOException;


    List<User> queryAllUser() throws IOException;

    int updateSelectiveElement(@Param("id") int id, @Param("name") String name, @Param("age") int age);


    int insertUser(@Param("user") User user);







}
